﻿package mortal.game.scene3D.layer3D.utils
{
    import Framework.MQ.*;
    import baseEngine.core.*;
    import mortal.game.*;
    import mortal.game.scene3D.layer3D.*;

    public class EntityLayerUtil extends Object
    {
        protected var layer:PlayerLayer;

        public function EntityLayerUtil(param1:PlayerLayer)
        {
            this.layer = param1;
            return;
        }// end function

        public function removeAll() : void
        {
            return;
        }// end function

        public function updateEntity() : void
        {
            return;
        }// end function

        public static function getLayer(param1:IMessageBase = null) : Pivot3D
        {
            if (param1 && param1.msgEx)
            {
                if (param1.msgEx.ex1 == 123)
                {
                    return Game.scene.dicePlayerLayer;
                }
            }
            return Game.scene.playerLayer;
        }// end function

    }
}
